package com.itlin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itlin.bean.Dish;
import com.itlin.bean.PageParam;
import com.itlin.bean.Setmeal;
import com.itlin.dto.SetmealDto;

import java.util.List;

/**
 * @author 所谓伊人
 * @date 2022/3/24 - 20:19
 */
public interface SetmealService {

    int countByCid(long cid);

    int add(SetmealDto setmealDto);

    IPage<SetmealDto> findPage(PageParam pageParam);

    int delete(List<Long> ids);

    List<Setmeal> findByCategoryId(long categoryId, Integer status);

    int updateStatus(Setmeal setmeal,List<Long> ids);

    SetmealDto show(Long id);

    int updateSeatmeal(SetmealDto setmealDto);
}
